import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const Page1 = () => import('../views/page1/page1') // 基本信息页面
const Page2 = () => import('../views/page2/page2') // 您期望到职位
const Page3 = () => import('../views/page3/page3') // 最近到一份工作
const Page4 = () => import('../views/page4/page4') // 教育经历
const Complete = () => import('../views/complete/complete') // 完成

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Page1
  },
  {
    path: '/page2',
    name: 'Page2',
    component: Page2
  },
  {
    path: '/page3',
    name: 'Page3',
    component: Page3
  },
  {
    path: '/page4',
    name: 'Page4',
    component: Page4
  },
  {
    path: '/complete',
    name: 'Complete',
    component: Complete
  }
]

const router = new VueRouter({
  routes
})

export default router
